Section 1.5

Maple Tool 1

This graphing tool supports Activity 1.  Enter definitions for the functions f, g, h, and k, where k is defined in terms of g and h (not necessarily the sum of g and h).  If you have the right combination, the graph of k should coincide with the graph of f.  (The given definitions are not right.)

> f:=x->x^3+4*x^2;

> g:=x->x;

> h:=x->4*x;

> k:=x->g(x)+h(x);

> plot([g(x),h(x),f(x),k(x)], x=-3..3, y=-40..40, color=[red,blue,black,green], thickness=[1,1,1,2], legend=["g(x)","h(x)","f(x)","k(x)"]);

>